<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>24_2D-扭曲</title>
        <style>
            .outer {
                width: 200px;
                height: 200px;
                border: 1px solid black;
                margin-left: 300px;
                margin-top: 200px;
            }

            .inner {
                width: 200px;
                height: 200px;
                background-color: aqua;

                transform: skewX(20deg);
                transform: skewX(-20deg);

                transform: skewY(20deg);
                transform: skewY(-20deg);

                transform: skew(20deg,40deg);

            }
        </style>
    </head>
    <body>
        <div class="outer">
            <div class="inner">

            </div>
        </div>
    </body>
</html>